ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / Vector2 Structure / Vector2 Constructor / Vector2 Constructor(Single[])
The values to assign to the X and Y components of the vector. This must be an array with two elements.

In This Topic
    Vector2 Constructor(Single[])
    In This Topic
    Initializes a new instance of the Vector2 struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal values() As Single _
    )
    public Vector2( 
       float[] values
    )

    Parameters

    values
    The values to assign to the X and Y components of the vector. This must be an array with two elements.
    Exceptions
    ExceptionDescription
    Thrown when values is null.
    Thrown when values contains more or less than two elements.
    See Also